﻿using System;
using System.Collections.Generic;
using System.Text;
using FileWatcher;
using System.IO;
using System.Security.Permissions;
using System.Windows.Forms;


namespace WindowsSevicer
{
    public class DataFileMonitor : FileWatchers
    {
        //watch the .csv file appeared.
        public override void OnChanged(object source, FileSystemEventArgs e){
            //Implement insert to data base

            //Write an event log
            
            //Send an email to remind
           
        }
        public override void OnRenamed(object source, FileSystemEventArgs e)
        {
            //Not available to do any thing
        }
    }
}
